CVE-2025-40276
drm/panthor: Flush shmem writes before mapping buffers CPU-uncached
Description
In the Linux kernel, the following vulnerability has been resolved: drm/panthor: Flush shmem writes before mapping buffers CPU-uncached The shmem layer zeroes out the new pages using cached mappings, and if we don't CPU-flush we might leave dirty cachelines behind, leading to potential data leaks and/or asynchronous buffer corruption when dirty cachelines are evicted.
INFO
Published Date :
Dec. 6, 2025, 10:15 p.m.
Last Modified :
Dec. 6, 2025, 10:15 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
- Flush CPU cachelines after zeroing pages.
- Ensure pages are properly synchronized.
- Apply kernel patches promptly.
- Test updated system thoroughly.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-40276.
| URL | Resource |
|---|---|
| https://git.kernel.org/stable/c/576c930e5e7dcb937648490611a83f1bf0171048 | |
| https://git.kernel.org/stable/c/7a12f9c96d06b145562f76ffb20369b4692f0911 |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-40276 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-40276
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-40276 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2025-40276 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Dec. 06, 2025
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: drm/panthor: Flush shmem writes before mapping buffers CPU-uncached The shmem layer zeroes out the new pages using cached mappings, and if we don't CPU-flush we might leave dirty cachelines behind, leading to potential data leaks and/or asynchronous buffer corruption when dirty cachelines are evicted. Added Reference https://git.kernel.org/stable/c/576c930e5e7dcb937648490611a83f1bf0171048 Added Reference https://git.kernel.org/stable/c/7a12f9c96d06b145562f76ffb20369b4692f0911